package cn.myspringboot.comment.service;

import cn.myspringboot.comment.dao.CommentRepository;
import cn.myspringboot.user.domain.Comment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CommentService {

    void saveComment(Comment comment);

    List<Comment> findCommentByBlogId(Long articleId);

    void updateComment(Comment comment);

    void deleteCommentById(String id);

    List<Comment> findAllComment();

}
